<?php

namespace app\admin\Controller;

use think\Controller;
use think\Db;

class Base extends Controller	{
	/**
	* @param
	*/
	public function _initialize() {
		if(!session('username')) {
			$this->error('请先登录系统','login/index');
		}
	}
}